using System;
using System.Collections.Generic;
using System.Text;

namespace LumiSoft.Net.MIME.Header
{
    /// <summary>
    /// Represents Content-Type: header field value. Defined in RFC 2045 5.
    /// </summary>
    public class MIME_t_ContentType : MIME_HeaderFieldValue
    {
        private string m_Type    = "";
        private string m_SubType = "";

        /// <summary>
        /// Default constructor.
        /// </summary>
        public MIME_t_ContentType()
        {
        }


        #region Properties Implementation

        /// <summary>
        /// Gets media type.
        /// </summary>
        public string Type
        {
            get{ return m_Type; }
        }

        /// <summary>
        /// Gets media sub type.
        /// </summary>
        public string SubType
        {
            get{ return m_SubType; }
        }

        /// <summary>
        /// Gets media type with subtype as Type/SubType. For example: text/plain.
        /// </summary>
        public string TypeWithSubype
        {
            get{ return m_Type + "/" + m_SubType; }
        }

        // public collection Parameters

        /// <summary>
        /// 
        /// </summary>
        public string Param_Name
        {
            get{ return ""; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string Param_CharSet
        {
            get{ return ""; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string Param_Boundary
        {
            get{ return ""; }
        }


        /// <summary>
        /// 
        /// </summary>
        public override string ValueString
        {
            get{
                return base.ValueString;
            }
        }

        #endregion

    }
}
